#ifndef MAIN_H
#define MAIN_H

#include <pthread.h>
#include <stdint.h>
#include <sys/stat.h>
#include "usr_cfg.h"

enum tstatus {TS_SUSPEND, TS_READY, TS_ALIVE, TS_TERMINATED, TS_JOINED, TS_DETACH};

typedef struct thread_status_t {
	pthread_t tid;									//线程ID
	enum tstatus status;							//线程状态
}thread_status;


#endif

